package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 炼厂表
 * @Author: jeecg-boot
 * @Date: 2023-08-29
 * @Version: V1.0
 */
@Data
@TableName("ysy_refinery")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ysy_refinery对象", description = "炼厂表")
public class YsyRefinery {

    /**
     * 炼厂id
     */
    @Excel(name = "炼厂id", width = 15)
    @ApiModelProperty(value = "炼厂id")
    private Integer refineryId;
    /**
     * 炼厂名称
     */
    @Excel(name = "炼厂名称", width = 15)
    @ApiModelProperty(value = "炼厂名称")
    private String refineryName;
    /**
     * 所在城市
     */
    @Excel(name = "所在城市", width = 15)
    @ApiModelProperty(value = "所在城市")
    private String city;
    /**
     * 详细地址
     */
    @Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private String address;
    /**
     * 炼厂简介
     */
    @Excel(name = "炼厂简介", width = 15)
    @ApiModelProperty(value = "炼厂简介")
    private Object content;
    /**
     * 状态:0=隐藏,1=显示
     */
    @Excel(name = "状态:0=隐藏,1=显示", width = 15)
    @ApiModelProperty(value = "状态:0=隐藏,1=显示")
    private String status;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 经度
     */
    @Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String lat;
    /**
     * 维度
     */
    @Excel(name = "维度", width = 15)
    @ApiModelProperty(value = "维度")
    private String lng;

    private String descript;

    @TableField(exist = false)
    private String oilList;

    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date newTime;

    /**
     * 是否有优惠价：1-是，0-否
     */
    @Excel(name = "是否有优惠价：1-是，0-否", width = 15)
    @ApiModelProperty(value = "是否有优惠价：1-是，0-否")
    private Integer discountFlag;

}
